home *** CD-ROM | disk | FTP | other *** search
/ Mesolore / Mesolore - Disc 1.iso / pc / data / stub_switcher.dir / 00001_Script_1 next >
Text File  |  2001-01-26  |  2KB  |  51 lines

  1. Global gOldColorDepth, gMac
  2. on startMovie
  3.   if the platform contains "macintosh" then
  4.     gMac = TRUE
  5.   else
  6.     gMac = FALSE
  7.   end if
  8.   
  9.   gOldColorDepth = the colordepth
  10.   
  11.   checkColor
  12.   checkforqt
  13.  
  14.     if gMac then
  15.       go movie the moviepath & "data:switcher"
  16.     else
  17.       go movie the moviepath & "data\switcher"
  18.     end if
  19. end
  20.  
  21. on checkColor
  22.   set the colorDepth = 16
  23.   if gMac then
  24.     nothing
  25.   else
  26.     if the colordepth < 16 then
  27.       alert "Your monitor must be set to 16 bit color to run this application.  Please quit this application, right-click on your screen, select PROPERTIES, and use the settings tab to select High Color (16 bit)."
  28.     end if
  29.   end if
  30. end
  31.  
  32. on checkScreenSize
  33.   displayRect = getAt(the desktopRectList,1)
  34.   displayRight = getAt(displayRect,3)
  35.   if displayRight < 800 then
  36.     if gMac then
  37.       alert "A screen size of 800 x 600 or larger is required to run this application.  Please use your MONITORS control panel to increase your screen size to 800 x 600 or larger."
  38.     else
  39.       alert "A screen size of 800 x 600 or larger is required to run this application.  Please quit this application, right-click on your screen, select PROPERTIES, and use the settings tab to increase your screen size to 800 x 600 or larger."
  40.     end if
  41.     quit
  42.   end if
  43. end
  44.  
  45. on checkforQT
  46.   if quicktimeversion() < 3 then
  47.     alert "QuickTime 3 or later is required to run this application.  Please use the Quicktime installer on this CD-ROM to install Quicktime 4.1.2."
  48.     quit
  49.   end if
  50.   
  51. end